package day1;

import java.util.Arrays;

/**
 * @author oldliu
 * @since 1.0
 */
public class SystemTest {
    public static void main(String[] args) {
        System.out.println("11111");
        //System.exit(1);
        System.out.println("hello");
        long time=System.currentTimeMillis();
        System.out.println(time);
        //复制数组
        int []a1={1,3,6,7,8,9,10};
        int []a2=new int[20];
        //for
        System.arraycopy(a1,0,a2,4,5);
        System.out.println(Arrays.toString(a2));
        System.arraycopy(a1,0,a1,3,2);//1 3  6 1 3 9 10
        System.out.println(Arrays.toString(a1));//?
        // Arrays.copyOf()
    }
}
